package com.springboot.service.Impl;


import com.springboot.entity.Admin;
import com.springboot.mapper.AdminMapper;
import com.springboot.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl implements AdminService {

    @Autowired
    AdminMapper adminMapper;

    @Override
    public Admin AdminLogin(Admin admin) {
        return adminMapper.AdminLogin(admin);
    }
}
